TOKEN="$(openssl rand -hex 32)"
EXPIRES_AT="$(date -d '24 hours' '+%F %T')"
echo "$TOKEN" "$EXPIRES_AT"

# then put them into your database under admin_invites.